package com.lxmes.hr.service;

import java.util.List;
import com.lxmes.hr.domain.NcRewardPunishment;

/**
 * 奖惩考核指标Service接口
 *
 * @author ruoyi
 * @date 2022-11-25
 */
public interface INcRewardPunishmentService
{
    /**
     * 查询奖惩考核指标
     *
     * @param id 奖惩考核指标主键
     * @return 奖惩考核指标
     */
    public NcRewardPunishment selectNcRewardPunishmentById(Long id);

    /**
     * 查询奖惩考核指标列表
     *
     * @param ncRewardPunishment 奖惩考核指标
     * @return 奖惩考核指标集合
     */
    public List<NcRewardPunishment> selectNcRewardPunishmentList(NcRewardPunishment ncRewardPunishment);

    /**
     * 新增奖惩考核指标
     *
     * @param ncRewardPunishment 奖惩考核指标
     * @return 结果
     */
    public int insertNcRewardPunishment(NcRewardPunishment ncRewardPunishment);

    /**
     * 修改奖惩考核指标
     *
     * @param ncRewardPunishment 奖惩考核指标
     * @return 结果
     */
    public int updateNcRewardPunishment(NcRewardPunishment ncRewardPunishment);

    /**
     * 批量删除奖惩考核指标
     *
     * @param ids 需要删除的奖惩考核指标主键集合
     * @return 结果
     */
    public int deleteNcRewardPunishmentByIds(Long[] ids);

    /**
     * 删除奖惩考核指标信息
     *
     * @param id 奖惩考核指标主键
     * @return 结果
     */
    public int deleteNcRewardPunishmentById(Long id);

    String imporIteminfo(List<NcRewardPunishment> userList, boolean updateSupport, String operName);
}
